﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ibba.src.norisk.DataAccess;

namespace ibba.src.norisk.BusinessLogic
{
    public class CommonBL
    {
        private CommonDb _commonDb;

        public CommonBL()
        {
            _commonDb = new CommonDb();
        }

        public BusinessEntities.ReferenciaProcessamento ObterUltimaDataReferencia()
        {
            return _commonDb.ObterUltimaDataReferencia();
        }

        public List<BusinessEntities.Origem> ObterOrigens()
        {
            return _commonDb.ObterOrigens();
        }
    }
}
